<template>
  <div id="tab-bar">
    <slot></slot>
  </div>
</template>

<script>
// 总的tabbar组件，设置了一个插槽，可以在里面插入tabbarItem
export default {
  data() {
    return {};
  }
};
</script>
<style scoped>
#tab-bar {
  height: 49px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #f6f6f6;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
}

</style>